package com.scw.service;



import java.util.List;


import org.springframework.stereotype.Component;

import com.scw.model.SysUser;

/**
 * 
 * @Description 个人用户类管理接口
 * @author 王华聪
 * @version v1.0
 */
@Component("userService")
public interface UserService {
	/**
	 * 
	 *@Description 根据id获取user信息
	 *@param id
	 *@return User
	 */
	public SysUser get(Long id);
	/**
	 * 
	 *@Description 登录方法
	 *@param user
	 *@return User
	 */
	public SysUser login(SysUser sysUser);
	
	public SysUser addUser(SysUser sysUser);
	
	public SysUser updateUser(SysUser sysUser);
	
	public void delUser(SysUser sysUser);
	
	public List<SysUser> getAllUser(SysUser sysUser);
	
}

